﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class NhanVienBUS
    {
        public static List<NhanVien> Select_TaiXe()
        {
            try
            {
                return NhanVienDAO.Select_TaiXe();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static List<NhanVien> Select_TiepVien()
        {
            try
            {
                return NhanVienDAO.Select_TiepVien();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static List<NhanVien> Search(NhanVien emp)
        {
            try
            {
                return NhanVienDAO.Search(emp);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
